import Vue from 'vue'
import Router from 'vue-router'

import index from '@/components/index'
import about from '@/components/aboutme/aboutme'
import posts from '@/components/posts/posts'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/about',
      name: 'about',
      component: about
    },
    {
      path: '/posts',
      name: 'posts',
      component: posts
    }
  ]
})
